package com.tensquare.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 问题
 * </p>
 *
 * @author caoxingsheng
 * @since 2019-06-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tb_problem")
@ApiModel(value="Problem对象", description="问题")
public class Problem implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID")
    private String id;

    @ApiModelProperty(value = "标题")
    private String title;

    @ApiModelProperty(value = "内容")
    private String content;

    @ApiModelProperty(value = "创建日期")
    private LocalDateTime createtime;

    @ApiModelProperty(value = "修改日期")
    private LocalDateTime updatetime;

    @ApiModelProperty(value = "用户ID")
    private String userid;

    @ApiModelProperty(value = "昵称")
    private String nickname;

    @ApiModelProperty(value = "浏览量")
    private Long visits;

    @ApiModelProperty(value = "点赞数")
    private Long thumbup;

    @ApiModelProperty(value = "回复数")
    private Long reply;

    @ApiModelProperty(value = "是否解决")
    private String solve;

    @ApiModelProperty(value = "回复人昵称")
    private String replyname;

    @ApiModelProperty(value = "回复日期")
    private LocalDateTime replytime;


}
